package cn.tpshion.task.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum MsgAction {

    HEARTBEAT(0, "心跳"),
    CONN(1, "初始化连接"),
    TASK(2, "任务"),
    TASK_RESP(3, "任务响应"),
    AUTH_FAIL(4, "认证失败");

    private final Integer action;

    private final String name;
}
